package com.ruoyi.system.domain.xcx;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户流水对象 app_user_history
 *
 * @author ruoyi
 * @date 2024-08-21
 */
public class AppUserHistory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 微信用户唯一标识 */
    @Excel(name = "微信用户唯一标识")
    private String openId;

    /** 订单金额 */
    @Excel(name = "订单金额")
    private String amount;

    /** 类型（0.返佣 1.下单） */
    @Excel(name = "类型", readConverterExp = "0=.返佣,1=.下单")
    private String type;


    private  String nickname;

    public String getAwemeId() {
        return awemeId;
    }

    public void setAwemeId(String awemeId) {
        this.awemeId = awemeId;
    }
    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }
    private String awemeId;

    public String getAplUuid() {
        return aplUuid;
    }

    public String getFatherId() {
        return fatherId;
    }

    public void setFatherId(String fatherId) {
        this.fatherId = fatherId;
    }

    private String fatherId;

    public void setAplUuid(String aplUuid) {
        this.aplUuid = aplUuid;
    }

    private String aplUuid;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setOpenId(String openId)
    {
        this.openId = openId;
    }

    public String getOpenId()
    {
        return openId;
    }
    public void setAmount(String amount)
    {
        this.amount = amount;
    }

    public String getAmount()
    {
        return amount;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("openId", getOpenId())
            .append("amount", getAmount())
            .append("createTime", getCreateTime())
            .append("type", getType())
            .toString();
    }
}
